package cn.wolfcode.domain;


import com.alibaba.fastjson.JSON;
import lombok.Getter;
import lombok.Setter;

import java.util.HashMap;

/**
 * 班级管理
 *
 */

@Setter
@Getter
public class ClassInfo {
    private Long id;

    private String name;

    private Integer number;

    private Long employeeId;

    private Employee empId;

    public String getJson(){

        HashMap<Object, Object> map = new HashMap<>();
        map.put("id", id);
        map.put("name", name);
        map.put("number",number);
        map.put("empId",empId);

        return JSON.toJSONString(map);
    }

    private int bb;
}